package com.inibb.app.vo.admin;

import java.util.Date;

import javax.validation.constraints.Size;

import com.inibb.app.constant.AnnouncementErrorCode;



public class AnnouncementDTO implements java.io.Serializable{

	private static final long serialVersionUID = 1L;

	private String id;
	
	private String subject;
	
	private String author;
	
	private String content;
	
	private String activeFlag;
	
	private Date createdDate;

	private String createdBy;
	
	private String createdByFullName;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Size(max=80, message = AnnouncementErrorCode.E_SUBJECT_SIZE_EXCEEDED)	
	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	@Size(max=20, message = AnnouncementErrorCode.E_AUTHOR_SIZE_EXCEEDED)	
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Size(max=500, message = AnnouncementErrorCode.E_CONTENT_SIZE_EXCEEDED)
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Size(max=1, message = AnnouncementErrorCode.E_EMPTY_ACTIVE_FLAG)
	public String getActiveFlag() {
		return activeFlag;
	}

	public void setActiveFlag(String activeFlag) {
		this.activeFlag = activeFlag;
	}

	


	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedByFullName() {
		return createdByFullName;
	}

	public void setCreatedByFullName(String createdByFullName) {
		this.createdByFullName = createdByFullName;
	}
	
	
}
